package com.ysdcrm.crm.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysdcrm.crm.model.Tracks;

import org.apache.ibatis.annotations.Select;

public interface ITracksMapper extends BaseMapper<Tracks>{
    @Select("select * from tracks where TO_DAYS(create_time) = TO_DAYS(now())")
    List<Tracks> findToday();
}
